import { postBodyRequest, postRequest } from '@/libs/axios';

// 发送问诊消息到AI
export const sendConsultation = (params) => {
    return postBodyRequest('/consultation/chat', params)
}

// 症状自查
export const checkSymptoms = (params) => {
    return postBodyRequest('/consultation/check', {
        message: params.message
    })
}

// 智能诊疗助手对话
export const assistantChat = (data) => {
    return postRequest('/consultation/assistant/chat', data)
}

// 分析病例
export const analyzeCase = (data) => {
    return postRequest('/consultation/assistant/analyze', data)
}

// 检查用药禁忌
export const checkContraindications = (data) => {
    return postRequest('/consultation/contraindications', data)
}

// 获取药品说明书
export const getMedicineGuide = (data) => {
    return postRequest('/consultation/medicine-guide', data)
}

// 获取临床指南
export const getClinicalGuide = (data) => {
    return postRequest('/consultation/clinical-guide', data)
} 